Optimal. Leaf size=79 \[ \frac{b x^7 \sqrt{a^2+2 a b x^2+b^2 x^4}}{7 \left (a+b x^2\right )}+\frac{a x^5 \sqrt{a^2+2 a b x^2+b^2 x^4}}{5 \left (a+b x^2\right )} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0226354, antiderivative size = 79, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 2, integrand size = 26, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.077, Rules used = {1112, 14} \[ \frac{b x^7 \sqrt{a^2+2 a b x^2+b^2 x^4}}{7 \left (a+b x^2\right )}+\frac{a x^5 \sqrt{a^2+2 a b x^2+b^2 x^4}}{5 \left (a+b x^2\right )} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 1112
Rule 14
Rubi steps
\begin{align*} \int x^4 \sqrt{a^2+2 a b x^2+b^2 x^4} \, dx &=\frac{\sqrt{a^2+2 a b x^2+b^2 x^4} \int x^4 \left (a b+b^2 x^2\right ) \, dx}{a b+b^2 x^2}\\ &=\frac{\sqrt{a^2+2 a b x^2+b^2 x^4} \int \left (a b x^4+b^2 x^6\right ) \, dx}{a b+b^2 x^2}\\ &=\frac{a x^5 \sqrt{a^2+2 a b x^2+b^2 x^4}}{5 \left (a+b x^2\right )}+\frac{b x^7 \sqrt{a^2+2 a b x^2+b^2 x^4}}{7 \left (a+b x^2\right )}\\ \end{align*}
Mathematica [A] time = 0.0071378, size = 39, normalized size = 0.49 \[ \frac{\sqrt{\left (a+b x^2\right )^2} \left (7 a x^5+5 b x^7\right )}{35 \left (a+b x^2\right )} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.042, size = 36, normalized size = 0.5 \begin{align*}{\frac{{x}^{5} \left ( 5\,b{x}^{2}+7\,a \right ) }{35\,b{x}^{2}+35\,a}\sqrt{ \left ( b{x}^{2}+a \right ) ^{2}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 0.993339, size = 18, normalized size = 0.23 \begin{align*} \frac{1}{7} \, b x^{7} + \frac{1}{5} \, a x^{5} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.48732, size = 31, normalized size = 0.39 \begin{align*} \frac{1}{7} \, b x^{7} + \frac{1}{5} \, a x^{5} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 0.091937, size = 12, normalized size = 0.15 \begin{align*} \frac{a x^{5}}{5} + \frac{b x^{7}}{7} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.1356, size = 39, normalized size = 0.49 \begin{align*} \frac{1}{7} \, b x^{7} \mathrm{sgn}\left (b x^{2} + a\right ) + \frac{1}{5} \, a x^{5} \mathrm{sgn}\left (b x^{2} + a\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]